<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/4/12
  Time: 14:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加商品</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/test9" method="post">
    <table border="1">
        <tr><td>商品编号</td><td>商品名称</td></tr>
        <tr><td><input type="test" name="products[0].proId">
        <input type="text" name="products[0].proName">
        </td>
        </tr>
        <tr><td><input type="test" name="products[1].proId">
            <input type="text" name="products[1].proName">
        </td>
        </tr>
    </table>
    <input type="submit" name="提交">
</form>
</body>
</html>
